package com.study.lihan;

public class MyUnchecckedExceptionhandler implements Thread.UncaughtExceptionHandler{
    @Override
    public void uncaughtException(Thread t, Throwable e) {
        System.out.println("当前线程是："+Thread.currentThread().getName());
        System.out.println("自定义处理子线程抛出异常");
    }

}
